# 添加源文件到变量
aux_source_directory (. SRC_TEST_LOG_LIST)               

# 指定库路径
link_directories(
    ${PROJECT_SOURCE_DIR}/inc/log/
)

# # 链接静态库
link_libraries(log)

# 生成可执行文件并
add_executable(tst_log_run ${SRC_TEST_LOG_LIST})
# target_link_libraries()

# 重定向可执行文件输出位置
set(EXECUTABLE_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/out/log/)